Interface STPFrame

All Superinterfaces:
IPCData, Pdu, Signal
All Known Subinterfaces:
RstpFrame
All Known Implementing Classes:
RstpFrameImpl, STPFrameImpl

public interface STPFrame extends Pdu
  • Method Details

    • getProtocolId

      Short getProtocolId()
      Returns:
      Short Returns a Short
    • setProtocolId

      void setProtocolId(Short protocolId)
      Parameters:
      protocolId - Takes in a parameter of protocolId
    • getVersion

      Byte getVersion()
      Returns:
      Byte Returns a Byte
    • setVersion

      void setVersion(Byte version)
      Parameters:
      version - Takes in a parameter of version
    • getMessageType

      STPBpduType getMessageType()
      Returns:
      STPBpduType Returns a STPBpduType
    • setMessageType

      void setMessageType(STPBpduType messageType)
      Parameters:
      messageType - Takes in a parameter of messageType
    • getFlags

      Byte getFlags()
      Returns:
      Byte Returns a Byte
    • setFlags

      void setFlags(Byte flags)
      Parameters:
      flags - Takes in a parameter of flags
    • getRootBridgeId

      STPId getRootBridgeId()
      Returns:
      STPId Returns a STPId
    • setRootBridgeId

      void setRootBridgeId(STPId rootBridgeId)
      Parameters:
      rootBridgeId - Takes in a parameter of rootBridgeId
    • getRootPathCost

      int getRootPathCost()
      Returns:
      int Returns a int
    • setRootPathCost

      void setRootPathCost(int rootPathCost)
      Parameters:
      rootPathCost - Takes in a parameter of rootPathCost
    • getBridgeId

      STPId getBridgeId()
      Returns:
      STPId Returns a STPId
    • setBridgeId

      void setBridgeId(STPId bridgeId)
      Parameters:
      bridgeId - Takes in a parameter of bridgeId
    • getPortId

      Short getPortId()
      Returns:
      Short Returns a Short
    • setPortId

      void setPortId(Short portId)
      Parameters:
      portId - Takes in a parameter of portId
    • getMessageAge

      Short getMessageAge()
      Returns:
      Short Returns a Short
    • setMessageAge

      void setMessageAge(Short messageAge)
      Parameters:
      messageAge - Takes in a parameter of messageAge
    • getMaxAge

      Short getMaxAge()
      Returns:
      Short Returns a Short
    • setMaxAge

      void setMaxAge(Short maxAge)
      Parameters:
      maxAge - Takes in a parameter of maxAge
    • getHelloTime

      Short getHelloTime()
      Returns:
      Short Returns a Short
    • setHelloTime

      void setHelloTime(Short helloTime)
      Parameters:
      helloTime - Takes in a parameter of helloTime
    • getForwardDelay

      Short getForwardDelay()
      Returns:
      Short Returns a Short
    • setForwardDelay

      void setForwardDelay(Short forwardDelay)
      Parameters:
      forwardDelay - Takes in a parameter of forwardDelay
    • getLengthValues

      List<STPTypeLengthValue> getLengthValues()
      Returns:
      List<STPTypeLengthValue> Returns a List<STPTypeLengthValue>
    • setLengthValues

      void setLengthValues(List<STPTypeLengthValue> lengthValues)
      Parameters:
      lengthValues - Takes in a parameter of lengthValues